<?php
error_reporting(0);
include '../configs/global.php';
include '../style/jump.php';
$data = $_GET;
$id = $data['id'];

$sql = "select * from curriculum where id='$id'";
$row = $pdo->getOne($sql);
$sql = "select resources.resourcesinfo,questions.*  from resources,questions,curriculum where   questions.cid=$id and resources.qid=questions.id and curriculum.id='$id'";
$rows = $pdo->getAll($sql);
$counts=count($rows);
if (!$row||!$rows) {}

include '../views/examination.html';
